package com.community.body.dto;

import com.community.body.domain.ZyCommunityInteraction;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.List;

/**
 * @author Mi Pro
 */
public class InteractionDTO extends ZyCommunityInteraction {


    private int deptId;
    private String userName;
    private String communityName;
    private String ownerNickname;
    private String ownerRealName;
    private String ownerPhoneNumber;
    private String ownerPortrait;
    private String commentNumber;
    private List<FilesDTO> filesUrl;

    public InteractionDTO() {
    }

    public InteractionDTO(int deptId, String userName, String communityName, String ownerNickname, String ownerRealName, String ownerPhoneNumber, String ownerPortrait, String commentNumber, List<FilesDTO> filesUrl) {
        this.deptId = deptId;
        this.userName = userName;
        this.communityName = communityName;
        this.ownerNickname = ownerNickname;
        this.ownerRealName = ownerRealName;
        this.ownerPhoneNumber = ownerPhoneNumber;
        this.ownerPortrait = ownerPortrait;
        this.commentNumber = commentNumber;
        this.filesUrl = filesUrl;
    }



    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getOwnerNickname() {
        return ownerNickname;
    }

    public void setOwnerNickname(String ownerNickname) {
        this.ownerNickname = ownerNickname;
    }

    public String getOwnerRealName() {
        return ownerRealName;
    }

    public void setOwnerRealName(String ownerRealName) {
        this.ownerRealName = ownerRealName;
    }

    public String getOwnerPhoneNumber() {
        return ownerPhoneNumber;
    }

    public void setOwnerPhoneNumber(String ownerPhoneNumber) {
        this.ownerPhoneNumber = ownerPhoneNumber;
    }

    public String getOwnerPortrait() {
        return ownerPortrait;
    }

    public void setOwnerPortrait(String ownerPortrait) {
        this.ownerPortrait = ownerPortrait;
    }

    public String getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(String commentNumber) {
        this.commentNumber = commentNumber;
    }

    public List<FilesDTO> getFilesUrl() {
        return filesUrl;
    }

    public void setFilesUrl(List<FilesDTO> filesUrl) {
        this.filesUrl = filesUrl;
    }

    @Override
    public String toString() {
        return "InteractionDTO{" + "deptId=" + deptId + ", userName='" + userName + '\'' + ", communityName='" + communityName + '\'' + ", ownerNickname='" + ownerNickname + '\'' + ", ownerRealName='" + ownerRealName + '\'' + ", ownerPhoneNumber='" + ownerPhoneNumber + '\'' + ", ownerPortrait='" + ownerPortrait + '\'' + ", commentNumber='" + commentNumber + '\'' + ", filesUrl=" + filesUrl + '}';
    }
}